ARIA states and properties (attributes)
This page lists reference pages covering all the WAI-ARIA attributes discussed on MDN.
ARIA attributes enable modifying an element's states and properties as defined in the accessibility tree.
Note: ARIA only modifies the accessibility tree, modifying how assistive technology presents the content to your users. ARIA doesn't change anything about an element's function or behavior. When not using semantic HTML elements for their intended purpose and default functionality, you must use JavaScript to manage behavior, focus, and ARIA states.
ARIA attribute types
There are 4 categories of ARIA states and properties:
Widget attributes
aria-autocomplete
aria-checked
aria-disabled
aria-errormessage
aria-expanded
aria-haspopup
aria-hidden
aria-invalid
aria-label
aria-level
aria-modal
aria-multiline
aria-multiselectable
aria-orientation
aria-placeholder
aria-pressed
aria-readonly
aria-required
aria-selected
aria-sort
aria-valuemax
aria-valuemin
aria-valuenow
aria-valuetext
Live region attributes
Drag-and-Drop attributes
Relationship attributes
Global ARIA attributes
Some states and properties apply to all HTML elements regardless of whether an ARIA role is applied. These are defined as "Global" attributes. Global states and properties are supported by all roles and base markup elements.
Many of the above attributes are global, meaning they can be included on any element unless specifically disallowed:
aria-atomic
aria-busy
aria-controls
aria-current
aria-describedby
aria-description
aria-details
aria-disabled
aria-dropeffect
aria-errormessage
aria-flowto
aria-grabbed
aria-haspopup
aria-hidden
aria-invalid
aria-keyshortcuts
aria-label
aria-labelledby
aria-live
aria-owns
aria-relevant
aria-roledescription
By "specifically disallowed," all the above attributes are global except for the aria-label
and aria-labelledby
properties, which are not allowed on elements with role presentation
nor its synonym none
role.
Index of states and properties
The following are the reference pages covering the WAI-ARIA states and properties described on MDN.
- ARIA: aria-activedescendant attribute
The
aria-activedescendant
attribute identifies the currently active element when focus is on acomposite
widget,combobox
,textbox
,group
, orapplication
.- ARIA: aria-atomic attribute
In ARIA live regions, the global
aria-atomic
attribute indicates whether assistive technologies such as a screen reader will present all, or only parts of, the changed region based on the change notifications defined by thearia-relevant
attribute.- ARIA: aria-autocomplete attribute
The
aria-autocomplete
attribute indicates whether inputting text could trigger display of one or more predictions of the user's intended value for acombobox
,searchbox
, ortextbox
and specifies how predictions will be presented if they are made.- ARIA: aria-braillelabel attribute
The global
aria-braillelabel
property defines a string value that labels the current element, which is intended to be converted into Braille.- ARIA: aria-brailleroledescription attribute
The global
aria-brailleroledescription
attribute defines a human-readable, author-localized abbreviated description for the role of an element intended to be converted into Braille.- ARIA: aria-busy attribute
Used in ARIA live regions, the global
aria-busy
state indicates an element is being modified and that assistive technologies may want to wait until the changes are complete before informing the user about the update.- ARIA: aria-checked attribute
The
aria-checked
attribute indicates the current "checked" state of checkboxes, radio buttons, and other widgets.- ARIA: aria-colcount attribute
The
aria-colcount
attribute defines the total number of columns in atable
,grid
, ortreegrid
when not all columns are present in the DOM.- ARIA: aria-colindex attribute
The
aria-colindex
attribute defines an element's column index or position with respect to the total number of columns within atable
,grid
, ortreegrid
.- ARIA: aria-colindextext attribute
The
aria-colindextext
attribute defines a human-readable text alternative of the numericaria-colindex
.- ARIA: aria-colspan attribute
The
aria-colspan
attribute defines the number of columns spanned by a cell or gridcell within atable
,grid
, ortreegrid
.- ARIA: aria-controls attribute
The global
aria-controls
property identifies the element (or elements) whose contents or presence are controlled by the element on which this attribute is set.- ARIA: aria-current attribute
A non-null
aria-current
state on an element indicates that this element represents the current item within a container or set of related elements.- ARIA: aria-describedby attribute
The global
aria-describedby
attribute identifies the element (or elements) that describes the element on which the attribute is set.- ARIA: aria-description attribute
The global
aria-description
attribute defines a string value that describes or annotates the current element.- ARIA: aria-details attribute
The global
aria-details
attribute identifies the element (or elements) that provide additional information related to the object.- ARIA: aria-disabled attribute
The
aria-disabled
state indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.- ARIA: aria-dropeffect attribute
The global
aria-dropeffect
attribute indicates what functions may be performed when a dragged object is released on the drop target.- ARIA: aria-errormessage attribute
The
aria-errormessage
attribute on an object identifies the element(s) that provides an error message for that object.- ARIA: aria-expanded attribute
The
aria-expanded
attribute is set on an element to indicate if a control is expanded or collapsed, and whether or not the controlled elements are displayed or hidden.- ARIA: aria-flowto attribute
The global
aria-flowto
attribute identifies the next element (or elements) in an alternate reading order of content. This allows assistive technology to override the general default of reading in document source order at the user's discretion.- ARIA: aria-grabbed attribute
The
aria-grabbed
state indicates an element's "grabbed" state in a drag-and-drop operation.- ARIA: aria-haspopup attribute
The
aria-haspopup
attribute indicates the availability and type of interactive popup element that can be triggered by the element on which the attribute is set.The
aria-hidden
state indicates whether the element is exposed to an accessibility API.- ARIA: aria-invalid attribute
The
aria-invalid
state indicates the entered value does not conform to the format expected by the application.- ARIA: aria-keyshortcuts attribute
The global
aria-keyshortcuts
attribute indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.- ARIA: aria-label attribute
The
aria-label
attribute defines a string value that can be used to name an element, as long as the element's role does not prohibit naming.- ARIA: aria-labelledby attribute
The
aria-labelledby
attribute identifies the element (or elements) that labels the element it is applied to.- ARIA: aria-level attribute
The
aria-level
attribute defines the hierarchical level of an element within a structure.- ARIA: aria-live attribute
The global
aria-live
attribute indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.- ARIA: aria-modal attribute
The
aria-modal
attribute indicates whether an element is modal when displayed.- ARIA: aria-multiline attribute
The
aria-multiline
attribute indicates whether atextbox
accepts multiple lines of input or only a single line.- ARIA: aria-multiselectable attribute
The
aria-multiselectable
attribute indicates that the user may select more than one item from the current selectable descendants.- ARIA: aria-orientation attribute
The
aria-orientation
attribute indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.- ARIA: aria-owns attribute
The
aria-owns
attribute identifies an element (or elements) in order to define a visual, functional, or contextual relationship between a parent and its child elements when the DOM hierarchy cannot be used to represent the relationship.- ARIA: aria-placeholder attribute
The
aria-placeholder
attribute defines a short hint (a word or short phrase) intended to help the user with data entry when a form control has no value. The hint can be a sample value or a brief description of the expected format.- ARIA: aria-posinset attribute
The
aria-posinset
attribute defines an element's number or position in the current set of listitems or treeitems when not all items are present in the DOM.- ARIA: aria-pressed attribute
The
aria-pressed
attribute indicates the current "pressed" state of a toggle button.- ARIA: aria-readonly attribute
The
aria-readonly
attribute indicates that the element is not editable, but is otherwise operable.- ARIA: aria-relevant attribute
Used in ARIA live regions, the global
aria-relevant
attribute indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.- ARIA: aria-required attribute
The
aria-required
attribute indicates that user input is required on the element before a form may be submitted.- ARIA: aria-roledescription attribute
The
aria-roledescription
attribute defines a human-readable, author-localized description for the role of an element.- ARIA: aria-rowcount attribute
The
aria-rowcount
attribute defines the total number of rows in a table, grid, or treegrid.- ARIA: aria-rowindex attribute
The
aria-rowindex
attribute defines an element's position with respect to the total number of rows within a table, grid, or treegrid.- ARIA: aria-rowindextext attribute
The
aria-rowindextext
attribute defines a human-readable text alternative ofaria-rowindex
.- ARIA: aria-rowspan attribute
The
aria-rowspan
attribute defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.- ARIA: aria-selected attribute
The
aria-selected
attribute indicates the current "selected" state of various widgets.- ARIA: aria-setsize attribute
The
aria-setsize
attribute defines the number of items in the current set of listitems or treeitems when not all items in the set are present in the DOM.- ARIA: aria-sort attribute
The
aria-sort
attribute indicates if items in a table or grid are sorted in ascending or descending order.- ARIA: aria-valuemax attribute
The
aria-valuemax
attribute defines the maximum allowed value for a range widget.- ARIA: aria-valuemin attribute
The
aria-valuemin
attribute defines the minimum allowed value for a range widget.- ARIA: aria-valuenow attribute
The
aria-valuenow
attribute defines the current value for arange
widget.- ARIA: aria-valuetext attribute
The
aria-valuetext
attribute defines the human-readable text alternative ofaria-valuenow
for a range widget.